package com.dibang.app.ui;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.TextView;

import com.dibang.app.R;
import com.dibang.app.mvp.base.BaseActivity;
import com.dibang.app.mvp.util.ViewUtil;
import com.dibang.app.operation.control.abs.TripListControl;
import com.dibang.app.operation.control.impl.TripListControlImpl;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * Created by wxl on 2019/8/12.
 */
public class TripListActivity extends BaseActivity<TripListControl, TripListControlImpl> {

    @BindView(R.id.activity_title_id)
    TextView titleView;

    @Override
    protected int onCreateBindViewLayoutId(@Nullable Bundle savedInstanceState) {
        return R.layout.activity_trip_list_layout;
    }


    @Override
    protected View onCreateBindViewUpdate(int layoutId, @Nullable Bundle savedInstanceState) {
        return ViewUtil.generateActivityViewContainerTitleView(this,layoutId,R.color.translucent_color);
    }

    @Override
    protected void onCreateBindViewChanged(@Nullable Bundle savedInstanceState) {
        ButterKnife.bind(this);
        titleView.setText("我的行程");
    }
}
